
# Only add your directories to this folder if you are 100% sure that
# it will always compile without warnings.

SUBDIRS = lcmtypes common imagesource pimu uorc motor_driver spy_lite examples
LIB_DIR = ../lib
BIN_DIR = ../bin

all:
	@for dir in $(SUBDIRS) ; do \
		echo $$dir ; $(MAKE) $(SILENT) -C $$dir all || exit 2; done

clean:
	for dir in $(SUBDIRS); do \
		echo $$dir ; $(MAKE) -C $$dir clean || exit 2; done
	rm -f *~
	rm -f $(LIB_DIR)/*
	rm -f $(BIN_DIR)/*
